<?php

namespace Twoir\Anroute\Attributes;

use Attribute;

/**
 * 路由
 */
#[Attribute(Attribute::TARGET_METHOD)]
class Route
{
    public function __construct(
        public string $path,
        public string $method = 'GET'
    ) 
    {}
}
